Carbon


DeskHookProcPtr

Header: MacWindows.h Carbon status: Unsupported

typedef void(* DeskHookProcPtr) (
    Boolean mouseClick, 
    EventRecord *theEvent
);

You would declare your function like this if you were to name it MyDeskHookCallback:

void MyDeskHookCallback (
    Boolean mouseClick, 
    EventRecord *theEvent
);
mouseClick
theEvent

AVAILABILITY

Not supported in Carbon.

CARBON NOTES

You cannot access the DeskHook global variable in Carbon. Therefore, Carbon does not support application-defined functions for drawing the desktop.


© 2000 Apple Computer, Inc. — (Last Updated 4/14/2000)